package com.gimi.cloud.bbp.dao.dao.core;

import com.gimi.cloud.bbp.dao.myMapper.MyMapper;
import com.gimi.cloud.bbp.entity.core.TongDunEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * Created by lixj on 2017/12/18.
 */
@Mapper
public interface TongDunDao extends MyMapper<TongDunEntity> {

	@Select("select * from jimi_third_td where user_id=#{userId} order by t_id desc")
	TongDunEntity getEntityByUserId(Integer userId);
}
